package com.naiterui.ehp.bs.im.exception;

import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * IM系统异常类
 */
public class NaiteruiIMException extends BusinessException {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 8966664767988820777L;

    /**
     * 异常信息：<code>message</code>
     */
    private String msg;

    /**
     * 构造函数
     *
     * @param code
     */
    public NaiteruiIMException(int code) {
        super(code);
    }

    public NaiteruiIMException(int code, String msg) {
        super(code);
        this.msg = msg;
    }

    public NaiteruiIMException(int code, Throwable cause) {
        super(code, cause);
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
